package com.biz.primus.model.oms.vo;

import com.biz.primus.base.vo.PageVo;
import com.biz.primus.model.oms.enums.AllocationType;
import com.biz.primus.model.oms.enums.OrderDeliveryType;
import com.biz.primus.model.oms.enums.OrderState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.List;

/**
 * @author LGJ
 * @date 2017/11/14
 */
@Data
@ApiModel("oms订单查询")
@FieldDefaults(level = AccessLevel.PRIVATE)
public class OrderQueryVo extends PageVo{

    @ApiModelProperty("门店编码")
    private String depotCode;

    @ApiModelProperty("订单状态")
    private List<OrderState> orderState;

    @ApiModelProperty("订单编码")
    private String orderCode;

    @ApiModelProperty("退单编码")
    private String refundCode;

    @ApiModelProperty("配送方式")
    private OrderDeliveryType orderDeliveryTypes;

    @ApiModelProperty("会员ID")
    private Long userId;

    @ApiModelProperty("分单类型")
    private AllocationType allocationType;

    @ApiModelProperty("是否查询当日门店所有订单,如果这个值为true, 则无视除了门店编号以外的其他条件")
    private boolean allToday;

}
